package edu.fudan.jwxt.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;

@Data
@TableName("exam")
public class Exam {

    @TableId
    private Integer examId;     //主键
    private String examName;    //考试名称
    private String courseId;    //课程编号
    private String time;    //考试时间

    @TableField(select = false)
    private String courseName;  //课程名称
    @TableField(select = false)
    private Boolean status;     //考试状态（已结束/未开始）

}
